<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:c="livcos.org/ns/cosmos"
  xmlns:job="livcos.org/ns/process/job"
  xmlns:f="livcos.org/ns/xslt/function"
  xmlns="http://www.w3.org/1999/xhtml"
  exclude-result-prefixes="c job xs f">

  <xsl:import href="../../../livcos.org/web/admin/JobStatistics.xsl" />
  
  <xsl:template match="/">
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Job Statistics Auto Refresh</title>
        <link href="../../../livcos.org/web/css/global.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="../../../livcos.org/web/script/E.js"><!-- --></script>
        <script type="text/javascript" src="../../../livcos.org/web/script/util.js"><!-- --></script>
        <script type="text/javascript">
          <xsl:comment>
            function reload() {
              window.location.replace(window.location.href);
            }
          </xsl:comment>
        </script>
      </head>
      <body onload="reload()">
        <h2>Job Statistics Auto Refresh</h2>
        <xsl:apply-templates select="doc(concat($ref, '.cosmos'))/*"/>
      </body>
    </html>
  </xsl:template>

</xsl:stylesheet>
